package org.iipg.common.data.exception;

import lombok.Getter;

/**
 * @author zhuhy163@163.com
 * @Description
 * @date 2020/12/12 下午3:05
 */
@Getter
public class PhException extends RuntimeException {

    private int errorCode = 500;

    public PhException(String msg) {
        super(msg);
    }

    public PhException(int code, String msg) {
        super(msg);
        errorCode = code;
    }

}
